package com.zxw.java基础.字符串;

/**
 * @projectName: util-cloud
 * @package: com.zxw.java基础.字符串
 * @className: Test
 * @author: zhangxuewei
 * @description:
 * @date: 2024/7/10 16:34
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        String str = "17:39:46";
        System.out.println(str.substring(0,str.length() -3));

        String a = "FASTENAL COMPANY PURCHASING MERCHANT CREDIT CARD PROCESSINGACCGENERAL LEDGER,2001 THEURERBLVDWINONAMN US 55987-1500";
        System.out.println(a.length());


    }
}
